@import '@/styles/variables.scss';

.medicalRecord-container {
    .medicalRecord-list-container {
        margin-bottom: $block-space-y;
        background: #fff;
        .medicalRecord-title-container {
            height: 50px;
            padding: 0px $block-x;
            border-bottom: 1px solid $border-color;
            background: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .title {
                padding-left: $block-img-text-x;
                border-left: 2px solid $main-color;
                .title-con{
                    font-size: $font-size-title;
                    color: $main-color;
                    font-weight: bold;
                }
            }
        }
        .list-container{
            min-height: 200px;
            padding: $block-y $block-x;
            .list-ul{
                .list-item{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    height: 24px;
                    .content{
                        font-size: $font-size-main;
                        color: $font-color-main;
                    }
                    .item-time{
                        width: 35%;
                    }
                    .item-info{
                        width: 55%;
                    }
                    .item-icon{
                        width: 10%;
                    }
                    &.list-item-hover:hover{
                        cursor: pointer;
                        .content{
                            color: $main-color;
                            .icon{
                                color: $main-color;
                            }
                        } 
                    }
                }
                .selectItem{
                    .content{
                        color: $main-color;
                        .icon{
                            color: $main-color;
                        }
                    }
                }
            }
        }
        .prescription-list-container{
            .prescription-container{
                margin-top: $block-y;
                &:first-of-type{
                    margin-top: 0px;
                }
                .list-title{
                    p{
                        font-size: $font-size-title;
                        color: $font-color-main;
                    }
                }
                .list-item{
                    .content{
                        font-size: $font-size-main;
                        color: $font-color-main;
                        line-height: 24px;
                    }
                    .item-product{
                        width: 80%;
                    }
                    .item-unit{
                        width: 20%;
                        text-align: right;
                    }
                }
                
            }
            
        }
        .check-item-container{
            .content{
                font-size: $font-size-main;
                color: $font-color-main;
                line-height: 24px;
            }
            .item-name{
                width: 70%;
            }
            .item-unit{
                width: 30%;
                text-align: right;
            }
        }
    }
}

